﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="EZCRS.HCMS.Web.manage.carduser.address_list" Codebehind="address_list.aspx.cs" %>
<%@ Register Src="../usercontrol/titlepage.ascx" TagName="titlepage" TagPrefix="uc2" %>
<%@ Register assembly="Book38.Net.CustomControl" namespace="Book38.Net.CustomControl" tagprefix="cc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
  
</head>
<body>
     <form id="form1" runat="server">
    <uc2:titlepage id="Titlepage1" runat="server" inittitle="<%$ Resources:Site, LabAddressList %>"></uc2:titlepage>
    
    <table class="main-table"  cellpadding="0" cellspacing="0">
      <tr class="line-even">
        <td><asp:GridView ID="gvList" runat="server" AlternatingRowStyle-CssClass="line-even"
                AutoGenerateColumns="False" CellPadding="1" CssClass="main-table" EmptyDataRowStyle-HorizontalAlign="center"
                EmptyDataText="<%$ Resources:Site, LabNoData %>" HeaderStyle-CssClass="title1" Height="35px" RowStyle-CssClass="line-odd"
                Width="100%" OnRowEditing="gvList_RowEditing"  OnRowDeleting="gvList_RowDeleting" DataKeyNames="adrid" >
                <EmptyDataRowStyle HorizontalAlign="Center" />
                <Columns>
                    <asp:TemplateField>
                    <HeaderStyle Width="250" />
                    <ItemStyle HorizontalAlign="center" />
                    <HeaderTemplate><asp:Label runat="server" ID="LabAddressAdrTopics" Text="<%$ Resources:Site, LabAddressAdrTopics %>"></asp:Label></HeaderTemplate>
                    <ItemTemplate><%#DataBinder.Eval(Container.DataItem, "adrtopics")%></ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                    <HeaderStyle Width="250" />
                    <ItemStyle HorizontalAlign="center" />
                    <HeaderTemplate><asp:Label runat="server" ID="LabAddressUsrCountry" Text="<%$ Resources:Site, LabAddressUsrCountry %>"></asp:Label></HeaderTemplate>
                    <ItemTemplate><%#DataBinder.Eval(Container.DataItem, "usrcountry")%></ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                    <HeaderStyle  Width="250" />
                    <ItemStyle HorizontalAlign="center" />
                    <HeaderTemplate><asp:Label runat="server" ID="LabAddressAdrTel" Text="<%$ Resources:Site, LabAddressAdrTel %>"></asp:Label></HeaderTemplate>
                    <ItemTemplate><%#DataBinder.Eval(Container.DataItem, "adrtel")%></ItemTemplate>
                    </asp:TemplateField>
                     <asp:TemplateField>
                    <HeaderStyle Width="250" />
                    <ItemStyle HorizontalAlign="center" />
                    <HeaderTemplate><asp:Label runat="server" ID="LabAddressUseTime" Text="<%$ Resources:Site, LabAddressUseTime %>"></asp:Label></HeaderTemplate>
                    <ItemTemplate><%#DataBinder.Eval(Container.DataItem, "usetime")%></ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                    <HeaderStyle/>
                    <HeaderTemplate><asp:Label runat="server" ID="LabEdit" Text="<%$ Resources:Site, LabEdit %>"></asp:Label></HeaderTemplate>
                    <HeaderStyle Width="80" />
                    <ItemStyle HorizontalAlign="center" />
                    <ItemTemplate>
                     <asp:LinkButton ID="Edit" runat="server" CommandName="Edit"><img src="../../Image/modify.gif" alt="编辑" style="border:0; " /></asp:LinkButton>
                     </ItemTemplate>
                    </asp:TemplateField>
                     <asp:TemplateField>
                    <HeaderStyle />
                    <HeaderTemplate><asp:Label runat="server" ID="LabDelete" Text="<%$ Resources:Site, LabDelete %>"></asp:Label></HeaderTemplate>
                    <HeaderStyle Width="80" />
                    <ItemStyle HorizontalAlign="center" />
                    <ItemTemplate>
                     <asp:LinkButton ID="Delete" runat="server" CommandName="Delete"><img src="../../Image/delete.gif" alt="删除" style="border:0; " /></asp:LinkButton>
                     </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <RowStyle CssClass="line-odd" />
                <HeaderStyle CssClass="title1" />
                <AlternatingRowStyle CssClass="line-even" />
            </asp:GridView>
              &nbsp;
       <table width="100%" cellpadding="1" cellspacing="0" class="main-table">
            <tr class="bttn">
                <td align="left"><asp:Label runat="server" ID="LabAddressAdrTopics" Text="<%$ Resources:Site, LabAddressAdrTopics %>"></asp:Label>：</td>
                <td><cc2:WebTextBox ID="txt_adrtopics" runat="server" Width="150px" CssClass="text-line"></cc2:WebTextBox></td>
                <td><asp:Label runat="server" ID="LabAddressUsrCountry" Text="<%$ Resources:Site, LabAddressUsrCountry %>"></asp:Label>：</td>
                <td><cc2:WebTextBox ID="txt_usrcountry" runat="server" Width="150px" CssClass="text-line"></cc2:WebTextBox></td>
                <td><asp:Label runat="server" ID="LabAddressUsrProvince" Text="<%$ Resources:Site, LabAddressUsrProvince %>"></asp:Label>：</td>
                 <td><cc2:WebTextBox ID="txt_usrprovince" runat="server" Width="150px" CssClass="text-line"></cc2:WebTextBox></td> 
                 <td></td> 
            </tr>
             <tr class="bttn">
                <td align="left"><asp:Label runat="server" ID="LabAddressUsrCity" Text="<%$ Resources:Site, LabAddressUsrCity %>"></asp:Label>：</td>
                <td><cc2:WebTextBox ID="txt_usrcity" runat="server" Width="150px" CssClass="text-line"></cc2:WebTextBox></td>
                <td><asp:Label runat="server" ID="LabAddressAdrComment" Text="<%$ Resources:Site, LabAddressAdrComment %>"></asp:Label>：</td>
                <td><cc2:WebTextBox ID="txt_adrcomment" runat="server" Width="150px" CssClass="text-line"></cc2:WebTextBox></td>
                <td><asp:Label runat="server" ID="LabAddressAdrPost" Text="<%$ Resources:Site, LabAddressAdrPost %>"></asp:Label></td>
                 <td><cc2:WebTextBox ID="txt_adrpost" runat="server" Width="150px" CssClass="text-line"></cc2:WebTextBox></td> 
                 <td></td> 
            </tr>
             <tr class="bttn">
                <td align="left"><asp:Label runat="server" ID="LabAddressAdrTel" Text="<%$ Resources:Site, LabAddressAdrTel %>"></asp:Label>：</td>
                <td><cc2:WebTextBox ID="txt_adrtel" runat="server" Width="150px" CssClass="text-line"></cc2:WebTextBox></td>
                <td><asp:Label runat="server" ID="LabAddressAdrFax" Text="<%$ Resources:Site, LabAddressAdrFax %>"></asp:Label>：</td>
                <td><cc2:WebTextBox ID="txt_adrfax" runat="server" Width="150px" CssClass="text-line"></cc2:WebTextBox></td>
                <td><asp:Label runat="server" ID="LabAddressAdrContact" Text="<%$ Resources:Site, LabAddressAdrContact %>"></asp:Label></td>
                 <td><cc2:WebTextBox ID="txt_adrcontact" runat="server" Width="150px" CssClass="text-line"></cc2:WebTextBox></td> 
                 <td></td> 
            </tr>
             <tr class="bttn">
                <td align="left"><asp:Label runat="server" ID="LabAddressUseTime" Text="<%$ Resources:Site, LabAddressUseTime %>"></asp:Label>：</td>
                <td><cc2:WebTextBox ID="txt_usetime" runat="server" Width="150px" CssClass="text-line"></cc2:WebTextBox></td>
                <td></td>
                <td></td>
                <td></td>
                 <td></td> 
                 <td></td> 
            </tr>
             <tr class="line-even">
                <td colspan="7" align="center">
                <asp:HiddenField ID="HiddenField1" runat="server" />
                    <asp:HiddenField ID="AdrId" runat="server" />
                     <asp:HiddenField ID="UId" runat="server" />
                    &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;  <asp:Button ID="BtnAdd" runat="server" CssClass="bttn"
                        Text="<%$ Resources:Site, ButtonSave %>" OnClick="BtnAdd_Click" /></td>
           </tr> 
        </table> 
        </td>
      </tr>
     
    </table>
    
    </form>
  
</body>
</html>